package com.sinocare.project.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 药店表scc_drugstore的实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SccDrugstore implements Serializable {
    private static final long serialVersionUID = -7542290244192531700L;

    private Integer storeId;//店铺id
    private String storeName;//店铺名
    private String storeCode;//店铺编码
    private String customerCode;//客户编号
    private String provinceCode;//省编码
    private String province;//省
    private String cityCode;//市编码
    private String city;//市
    private String countyCode;//县区编码
    private String county;//县/区
    private String addressDetail;//详细地址

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date createTime;//创建时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date updateTime;//修改时间
}
